package data.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import data.dao.daoImplementation.NotFoundException;
import data.dto.*;
import data.searchdto.*;

public interface LeaveDAO {
	public ArrayList<LeaveDTO> findLeave(LeaveSearchDTO leaveSearchdto)
			throws LeaveDAOException, SQLException;

	public ArrayList<LeaveDTO> findAllLeave() throws LeaveDAOException, SQLException;

	public void insertLeaveDetail(LeaveDTO LeaveDetail)
			throws LeaveDAOException, SQLException;

	public void updateLeaveDetail(LeaveDTO LeaveDetail)
			throws LeaveDAOException, SQLException, NotFoundException;

	public void deleteLeaveDetail(LeaveDTO LeaveDetail)
			throws LeaveDAOException, SQLException, NotFoundException;
}
